package com.pwx.dao;

import com.pwx.entity.Emp;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface EmpMapper {

    List<Emp> getAll(Map<String,Object> maps);

    Emp getByEname(@Param("ename") String ename);

    Emp findByEno(@Param("eno") Integer eno);

    boolean deleteByEno(@Param("eno") Integer eno);

    boolean upadteByEmp(Emp emp);

    boolean addByEmp(Emp emp);

}
